package com.wanxi.dao;

import com.wanxi.model.NewsModel;

import java.util.ArrayList;
import java.util.List;

public class NewsDao {
    public static List<NewsModel> indexNewsList = new ArrayList<>();
    public static List<NewsModel> newsPageList = new ArrayList<>();

    static {
        indexNewsList.add(NewsModel.builder().title("发撒打发").content("发生大事").build());
        indexNewsList.add(NewsModel.builder().title("范德萨发撒").content("发的撒旦飞洒").build());
        indexNewsList.add(NewsModel.builder().title("fdsa").content("fasd").build());

        newsPageList.add(NewsModel.builder().title("fasda").publishTime("2022-2-22").build());
        newsPageList.add(NewsModel.builder().title("fasda").publishTime("2022-2-22").build());
        newsPageList.add(NewsModel.builder().title("fasda").publishTime("2022-2-22").build());
        newsPageList.add(NewsModel.builder().title("fasda").publishTime("2022-2-22").build());
        newsPageList.add(NewsModel.builder().title("fasda").publishTime("2022-2-22").build());
        newsPageList.add(NewsModel.builder().title("fasda").publishTime("2022-2-22").build());
        newsPageList.add(NewsModel.builder().title("fasda").publishTime("2022-2-22").build());
        newsPageList.add(NewsModel.builder().title("fasda").publishTime("2022-2-22").build());
        newsPageList.add(NewsModel.builder().title("fasda").publishTime("2022-2-22").build());
        newsPageList.add(NewsModel.builder().title("fasda").publishTime("2022-2-22").build());
    }
}
